package com.grow.greenhouse.job;

import org.eclipse.paho.client.mqttv3.MqttMessage;

/**
 * Mqtt消息监听接口，用于接受Mqtt返回的消息
 */
public interface MessageListener {
    void onMessageReceived(String topic, MqttMessage message);
}
